from pymongo import mongo_client
if __name__ == "__main__":
    conn = mongo_client.MongoClient('mongodb://localhost:27017/')
    # db = conn.testdb
    # db.col.save({'_id':1,'name':'samge2','age':24,'sex':0})
    # db.col.remove({'name':'samge'})
    db = conn.jobDB
    db.col.remove({'companyId':252833})
    for bean in db.col.find():
        print(bean)
